// samsting : this file is auto create.

#include "Emr/2015-09-10/ListExecutePlansRequest.h"

namespace aliyun { namespace Emr {

ListExecutePlansRequest::ListExecutePlansRequest() : RpcAcsRequest("Emr", "2015-09-10", "ListExecutePlans") {
}

int ListExecutePlansRequest::GetStrategy(void) const {
  return Strategy_;
}
void ListExecutePlansRequest::SetStrategy(int Strategy) {
  Strategy_ = Strategy;
  PutQueryParameter("Strategy", string_ValueOfInt(Strategy_));
}

const string& ListExecutePlansRequest::GetStatus(void) const {
  return Status_;
}
void ListExecutePlansRequest::SetStatus(const string& Status) {
  Status_ = Status;
  PutQueryParameter("Status", Status_);
}

bool ListExecutePlansRequest::GetIsDesc(void) const {
  return IsDesc_;
}
void ListExecutePlansRequest::SetIsDesc(bool IsDesc) {
  IsDesc_ = IsDesc;
  PutQueryParameter("IsDesc", string_ValueOfBool(IsDesc_));
}

int ListExecutePlansRequest::GetPageNumber(void) const {
  return PageNumber_;
}
void ListExecutePlansRequest::SetPageNumber(int PageNumber) {
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
}

int ListExecutePlansRequest::GetPageSize(void) const {
  return PageSize_;
}
bool ListExecutePlansRequest::SetPageSize(int PageSize) {
  if(PageSize > 500) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}


} } // namespace aliyun { namespace Emr {

// end of file 
